﻿namespace Probel.Client
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;

    public class Input
    {
        #region Methods

        public void Pause()
        {
            Console.Write("Press <ENTER> to continue...");
            Console.ReadLine();
        }

        public string Read(string message, ConsoleColor colour = ConsoleColor.Gray)
        {
            Console.ForegroundColor = colour;
            Console.Write(message);
            var result= Console.ReadLine();
            Console.ResetColor();
            return result;
        }

        public void Wait(string format, params object[] args)
        {
            Console.WriteLine(format, args);
            Console.ReadKey();
        }

        #endregion Methods
    }
}